package com.itheima.crm.service;

import com.itheima.crm.pojo.Customer;
import com.itheima.crm.pojo.QueryVo;
import com.itheima.crm.utils.Page;

public interface CustomerService {

    //根据条件分页查询客户
    Page<Customer> search(QueryVo queryVo);

    //根据id查询客户
    Customer queryById(Long id);

    //根据id修改客户
    void updateById(Customer customer);

    //根据id删除客户
    void deleteById(Long id);
}
